<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Table Layout Example</title>
    <style>
      table {
        border-collapse: collapse;
        width: 100%;
      }

      th,
      td {
        text-align: left;
        padding: 8px;
        border-bottom: 1px solid #ddd;
      }

      th {
        background-color: #f2f2f2;
      }
      #functionZone {
        margin-bottom: 10px;
      }
      .easyBtn {
        background-color: white;
        padding: 5px 10px;
        border: 1px solid #ccc;
        margin: 0 5px;
      }
    </style>
  </head>
  <body>
    <div id="functionZone">
      <button class="easyBtn" id="add">新建</button>
      <button class="easyBtn" id="save">保存</button>
      <input type="text" placeholder="请输入姓名" id="nameInput" />
      <button class="easyBtn" id="search">查询</button>
    </div>
    <table>
      <thead>
        <tr>
          <th>id</th>
          <th>姓名</th>
          <th>年龄</th>
          <th>性别</th>
          <th>班级</th>
          <th>操作</th>
        </tr>
      </thead>
      <tbody></tbody>
    </table>
    <script src="./index.js" type="module"></script>
  </body>
</html>
